package cn.htu.mpp.web;

import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;

import cn.htu.mpp.web.config.DataAccessConfig;
import cn.htu.mpp.web.config.WebConifg;

public class MppWebApplicationInitializer extends AbstractAnnotationConfigDispatcherServletInitializer{

	@Override
	protected Class<?>[] getRootConfigClasses() {
		return new Class<?>[] {DataAccessConfig.class};
	}

	@Override
	protected Class<?>[] getServletConfigClasses() {
		return new Class<?>[] {WebConifg.class};
	}

	@Override
	protected String[] getServletMappings() {
		return new String[] {"/"};
	}

	

}
